package sw6.admin.gui.logic;

import java.io.Serializable;
import java.util.ArrayList;

import android.app.Dialog;

public class Setting implements Serializable {
	
	private static final long serialVersionUID = 1366497887913548714L;
	String mDataType;
	String mRealName;
	String mVarName;
	String mDescription;
	String mClassPath = "";
	double mMin;
	double mMax;
	ArrayList<SettingEnumElement> mEnumElements;
	
	public ArrayList<SettingEnumElement> getEnumElements() {
		return mEnumElements;
	}

	public void setEnumElements(ArrayList<SettingEnumElement> enumElements) {
		this.mEnumElements = enumElements;
	}

	Dialog mDialog;
	
	public String getClassPath() {
		return mClassPath;
	}
	
	public String getDataType() {
		return mDataType;
	}

	public void setDataType(String mDataType) {
		this.mDataType = mDataType;
	}

	public String getRealName() {
		return mRealName;
	}

	public void setRealName(String mRealName) {
		this.mRealName = mRealName;
	}

	public String getVarName() {
		return mVarName;
	}
	
	public double getMin() {
		return mMin;
	}
	
	public double getMax() {
		return mMax;
	}

	public void setVarName(String mVarName) {
		this.mVarName = mVarName;
	}

	public String getDescription() {
		return mDescription;
	}

	public void setDescription(String mDescription) {
		this.mDescription = mDescription;
	}
	
	public void setDialog(Dialog dialog) {
		mDialog = dialog;
	}
	
	public Dialog getDialog() {
		return mDialog;
	}

	public Setting(String dataType, String realName, String varName, String description, String classPath, double min, double max) {
		mDataType = dataType;
		mRealName = realName;
		mVarName = varName;
		mDescription = description;
		mClassPath = classPath;
		mMin = min;
		mMax = max;
	}
}
